package com.lht.designPattern.factory_method.factory;

/**
 * @author Eric
 * @version 1.0
 * @date 2019-10-05
 */
public class Demo {

    public static void main(String[] args) {

        new StudentFactory().create().say();
        new TeacherFactory().create().say();

    }

}
